home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 97 / CD-ROM 97 / CD-ROM 97.iso / internet / ghostzilla / ghsetup.exe / chrome / comm.jar / content / editor / EdInsertTable.xul < prev    next >
Encoding:
Extensible Markup Language  |  2002-04-09  |  3.4 KB  |  87 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Netscape Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/NPL/
  8.    -  
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.    -  
  14.    - The Original Code is Mozilla Communicator client code, released
  15.    - March 31, 1998.
  16.    - 
  17.    - The Initial Developer of the Original Code is Netscape
  18.    - Communications Corporation. Portions created by Netscape are
  19.    - Copyright (C) 1998-2000 Netscape Communications Corporation. All
  20.    - Rights Reserved.
  21.    - 
  22.    - Contributor(s): 
  23.   -->
  24.  
  25. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  26. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  27.  
  28. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?> 
  29. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
  30. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  31. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?> 
  32.  
  33. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorInsertTable.dtd">
  34.  
  35. <dialog title="&windowTitle.label;"
  36.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  37.     onload = "Startup()"
  38.     ondialogaccept="return onAccept();"
  39.     ondialogcancel="return onCancel();">
  40.  
  41.   <!-- Methods common to all editor dialogs -->
  42.   <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  43.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  44.   <script type="application/x-javascript" src="chrome://editor/content/EdInsertTable.js"/>
  45.   <script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
  46.  
  47.   <spacer id="location" offsetY="50" persist="offsetX offsetY"/>
  48.   <broadcaster id="args" value=""/>
  49.   <groupbox><caption label="&size.label;"/>
  50.     <grid>
  51.       <columns>
  52.         <column flex="1"/>
  53.         <column flex="1"/>
  54.         <column flex="6"/>
  55.       </columns>
  56.       <rows>
  57.         <row align="center">
  58.           <label class="align-right" value="&numRowsEditField.label;" />
  59.           <textbox class="narrow" id="rowsInput" oninput="ChangeRowOrColumn(this.id)" />
  60.           <spacer/>
  61.         </row>
  62.         <row align="center">
  63.           <label class="align-right" value="&numColumnsEditField.label;" />
  64.           <textbox class="narrow" id="columnsInput" oninput="ChangeRowOrColumn(this.id)" />
  65.           <spacer/>
  66.         </row>
  67.         <row align="center">
  68.           <label class="align-right" value="&widthEditField.label;" />
  69.           <textbox class="narrow" id="widthInput" oninput="forceInteger(this.id)" />
  70.           <menulist id="widthPixelOrPercentMenulist" flex="1"/>
  71.             <!-- child elements are appended by JS -->
  72.         </row>
  73.       </rows>
  74.     </grid>
  75.     <spacer class="spacer"/>
  76.   </groupbox>
  77.   <spacer class="spacer"/>
  78.   <hbox align="center">
  79.     <label class="align-right" value="&borderEditField.label;"
  80.         tooltiptext="&borderEditField.tooltip;" />
  81.     <textbox class="narrow" id="borderInput" oninput="forceInteger(this.id)" />
  82.     <label value="&pixels.label;"/>  
  83.   </hbox>
  84.   <!-- from EdDialogOverlay -->
  85.   <vbox id="AdvancedEdit"/>
  86. </dialog>
  87.